/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$(function() {
    $(".photo").click(function() {
        $(this).toggleClass("selected");
        $(".a-header input[type=checkbox]", this).attr("checked",
            $(this).hasClass("selected"));
    });
});    
